package src

import (
	"math/rand"
	"strconv"
	"time"
)

//各种订单编号
func OrderNumber(p string) string {
	rand.Seed(time.Now().UnixNano())
	d := strconv.FormatInt(1000+rand.Int63n(9999-1000), 10)
	s := strconv.FormatInt(time.Now().Unix(), 10)
	return p + s + d
}
